import request from '@/utils/request'

// 查询综合服务信息列表
export function listLeCompService(query) {
  return request({
    url: '/lease/leCompService/list',
    method: 'get',
    params: query
  })
}

// 查询综合服务信息详细
export function getLeCompService(serviceId) {
  return request({
    url: '/lease/leCompService/' + serviceId,
    method: 'get'
  })
}

// 新增综合服务信息
export function addLeCompService(data) {
  return request({
    url: '/lease/leCompService',
    method: 'post',
    data: data
  })
}

// 修改综合服务信息
export function updateLeCompService(data) {
  return request({
    url: '/lease/leCompService',
    method: 'put',
    data: data
  })
}

// 删除综合服务信息
export function delLeCompService(serviceId) {
  return request({
    url: '/lease/leCompService/' + serviceId,
    method: 'delete'
  })
}
